home *** CD-ROM | disk | FTP | other *** search
- -- To plot points, make a list of 3 or more x,y coordinate pairs.
- xy = {
- {1, 2.3},
- {2, 4.1},
- {3, 6.4},
- {4, 3.0},
- {5, 1.5} }
-
- plot xy
- plotline xy -- To connect the points, use "plotline"
-
- -- You can also plot a list of y values evenly spaced along x
- ys = {1,2,3,4,5,6,7,6,5,4,3,2,1}
- plot ys -- (triangle markers)
-
- -- Lists of points can be read from a separate file using read(). See the doc files "Datafiles" and "Plotting" for more information.
-